﻿/*
 * Created by SharpDevelop.
 * User: ayoub
 * Date: 7/28/2011
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */


namespace CalculatorService
{
    public class CalculatorServiceImp : ICalculatorService
    {
        // Implement the ICalculatorService methods.
        public double Add(double n1, double n2)
        {
            double result = n1 + n2;
            return result;
        }

        public double Subtract(double n1, double n2)
        {
            double result = n1 - n2;
            return result;
        }

        public double Multiply(double n1, double n2)
        {
            double result = n1 * n2;
            return result;
        }

        public double Divide(double n1, double n2)
        {
            double result = n1 / n2;
            return result;
        }
    }
}